using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameLoop : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        NetManager.Instance().ConnectToServer("192.168.43.128", 4399, OnConnect);
    }
    private void OnConnect(bool bSuccess, string result)
    {
        if (bSuccess)
        {
            NetManager.SendUserLogin(NetManager.Instance().Ret_Login, false);
        }
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
